package com.ltedu.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @ClassName: LteduUserApplication
 * @Auther: Jerry
 * @Date: 2020/11/2 10:18
 * @Desctiption: 用户服务启动类
 * @Version: 1.0
 */
@SpringBootApplication
@ComponentScan("com.ltedu")
@MapperScan("com.ltedu.user.mapper")
@EnableDiscoveryClient
@EnableFeignClients
public class LteduUserApplication {

    public static void main(String[] args) {
        SpringApplication.run(LteduUserApplication.class, args);
    }
}
